package cn.yoyo.dao;

import cn.yoyo.entity.User;

import java.util.List;

public interface UserDao {
    public List<User> findAll();
    public User findById(String userId);
    public User findByUsername(String username);
    public void add(User user);
    public void update(User user);
    public void block(String userId,Integer block);
}
